//
//  BK_Adress_Tool.m
//  bestkeep
//
//  Created by TOPTEAM on 2017/3/7.
//  Copyright © 2017年 utouu. All rights reserved.
//

#import "BK_Adress_Tool.h"

@implementation BK_Adress_Tool

/*
 * 去掉空格
 */
+(NSString  *) getStr_With_Str:(NSString *)str{
    
    NSString *strUrl = [str stringByReplacingOccurrencesOfString:@" " withString:@""];
    return strUrl;
}
+(void)BK_saveStr:(NSString *)str withID:(NSString *)IDStr{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:str forKey:IDStr];
}

+(NSString *)BK_getStr_withID:(NSString *)IDStr{
    NSUserDefaults *userDsfaults = [NSUserDefaults standardUserDefaults];
    return [userDsfaults objectForKey:IDStr];
}
@end
